package cn.powertime.evaluation.service;

import cn.powertime.evaluation.entity.DbqQuestion;
import cn.powertime.evaluation.vo.CpsSearchVo;
import cn.powertime.evaluation.vo.DbqQuestionVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 问题表 服务类
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
public interface DbqQuestionService extends IService<DbqQuestion> {

    List<DbqQuestionVo>  questionQuery(Long id);
    List<DbqQuestionVo>  questionUserQuery(Long uid);
    public boolean ownUpdateById(DbqQuestion menu);
    public boolean ownSave(DbqQuestion menu);
    List<DbqQuestionVo> questionDetailsList(Long uid);
    List<DbqQuestionVo>  questionSearchList(CpsSearchVo cpsSearchVo);
}
